<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>布局容器</title>
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入VUE库 -->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <style>
        .el-header {
            background-color: #dddddd;
        }

        .el-main {
            background-color: #999999;
        }

        .el-footer {
            background-color: #555555;
        }

        .el-asid {
            background-color: #eeeeee;
        }

        .el-container {
            width: 500px;
            height: 600px;
        }

    </style>
</head>
<body>
<div id="app">
    <el-container>
        <el-header>header</el-header>
        <el-main>main</el-main>
        <el-footer>footer</el-footer>
    </el-container>
    <hr>
    <el-container>
        <el-header>header</el-header>
        <el-container>
            <el-aside width="200px">aside</el-aside>
            <el-main>main</el-main>
        </el-container>
        <el-footer>footer</el-footer>
    </el-container>
    <hr>
    <el-container>
        <el-header>header</el-header>
        <el-container>
            <el-aside width="200px">aside</el-aside>
            <el-container>
                <el-main>main</el-main>
                <el-footer>footer</el-footer>
            </el-container>
        </el-container>
    </el-container>
</div>


<script>
    var v = new Vue({
        el: "#app",

    })
</script>

</body>
</html>